<template>
	<view class="container">
		<view class="bg">
			<view class="navtitle">
				<view class="left" @click="back"></view>
				<view class="title">
					洗车
				</view>
			</view>
		</view>
		<view class="card">
			<uni-card style="border-radius: 20rpx;">
				<image slot='cover' style="width: 100%;margin-top: 20rpx;" src="../../../static/user3/car1.jpeg">
				</image>
				<view class="cbottom">
					<view class="left">
						<view class="top">
							中国石油加油站(解放路店)
						</view>
						<view class="middle">
							营业时间：周一至周五 早上8:00-晚上22:00
						</view>
						<view class="bottom">
							位置：山阳区人民路与解放路交叉口
							<image src="../../../static/user3/plane@3x.png"></image>
						</view>
					</view>
					<view class="right">
						<image src="../../../static/user3/phone.png"></image>
					</view>
				</view>
			</uni-card>
		</view>
		<view class="card2">
			<uni-card style="border-radius: 20rpx;">
				<view class="c2title">
					油价详情
				</view>
				<view class="priceitem">
					<view>92#</view>
					<view>￥5.86/L</view>
				</view>
				<u-gap height="2" bgColor="#fafafa"></u-gap>
				<view class="priceitem">
					<view>95#</view>
					<view>￥5.86/L</view>
				</view>
				<u-gap height="2" bgColor="#fafafa"></u-gap>
				<view class="priceitem">
					<view>98#</view>
					<view>￥5.86/L</view>
				</view>
				<u-gap height="2" bgColor="#fafafa"></u-gap>
				<view class="priceitem">
					<view>0#</view>
					<view>￥5.86/L</view>
				</view>
			</uni-card>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			back() {
				uni.navigateBack({
					delta: 1
				})
			},
		}
	}
</script>

<style scoped>
	.bg {
		width: 100%;
		height: 380rpx;
		background-color: #3082fb;
		overflow: hidden;
	}

	.navtitle {
		display: flex;
		margin-top: 40rpx;
		/* border: 1px solid red; */
		align-items: center;
	}

	.navtitle .left {
		width: 28rpx;
		height: 28rpx;
		margin-left: 20rpx;
		border-left: 2px solid white;
		border-bottom: 2px solid white;
		transform: rotate(45deg);
	}

	.bg .title {
		color: #e0ebfd;
		font-size: 40rpx;
		margin-left: 260rpx;
		font-family: 'Times New Roman', Times, serif;
		font-weight: 600;
	}

	.card {
		margin-top: -260rpx;
	}

	.cbottom {
		display: flex;
		align-items: center;
	}

	.cbottom .right {
		margin-left: 80rpx;
	}

	.cbottom .right image {
		width: 100rpx;
		height: 100rpx;
	}

	.top {
		font-weight: 700;
		font-size: 30rpx;
	}

	.middle {
		margin-top: 10rpx;
		font-size: 22rpx;
		font-weight: 500;
	}

	.bottom {
		margin-top: 10rpx;
		font-size: 22rpx;
		font-weight: 500;
		display: flex;
		align-items: center;
	}

	.cbottom .bottom image {
		width: 30rpx;
		height: 30rpx;
		margin-left: 20rpx;
	}
	.c2title{
		font-size: 30rpx;
		font-weight: bold;
	}
	.priceitem{
		display: flex;
		margin-bottom: 10rpx;
		margin-top: 10rpx;
	}
	.priceitem view:nth-child(1){
		margin-left: 80rpx;
		font-weight: 600;
	}
	.priceitem view:nth-child(2){
		margin-left: 300rpx;
		color: #ffa120;
	}
</style>